<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8">
    <title>公告</title>
    <link rel="stylesheet" href="/css/normalize.css">
    <link rel="stylesheet" href="/css/reset.css">
    <style>
      .title-show {
        font-size: 30px;
        font-weight: bold;
      }
      .announce {
        box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
        margin: 10px 0;
      }

      .title-text {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 500;
      }
    </style>
  </head>
  <body>
    <div class="announce" th:each="announcement : ${announcementList}">
      <span class="title-show" th:text="${announcement.title}"></span>
      <span th:text="${#temporals.format(announcement.time,'yyyy:MM:dd HH:mm:ss')}"></span>
      <div class="title-text" th:text="${announcement.content}"></div>
    </div>
  </body>
</html>